package com.bf.electroplating.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 园区公共雨排口监控日志表
 * </p>
 *
 * @author gzd
 * @since 2025-10-14
 */
@Getter
@Setter
@TableName("park_outlet_monitoring_log")
@Schema( description = "园区公共雨排口监控日志表")
public class ParkOutletMonitoringLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema( description ="ID")
    @TableId("ID")
    private String id;

    @Schema( description ="监控记录ID")
    @TableField("MONITORING_ID")
    private String monitoringId;

    @Schema( description ="排口简称")
    @TableField("OUTLET_ABBREVIATION")
    private String outletAbbreviation;

    @Schema( description ="设备名称")
    @TableField("DEVICE_NAME")
    private String deviceName;

    @Schema( description ="mn代码")
    @TableField("MN_CODE")
    private String mnCode;

    @Schema( description ="监测值")
    @TableField("MONITORING_VALUE")
    private BigDecimal monitoringValue;

    @Schema( description ="设备状态（1在线，0离线）")
    @TableField("DEVICE_STATUS")
    private String deviceStatus;

    @Schema( description ="监测时间")
    @TableField("MONITORING_TIME")
    private LocalDateTime monitoringTime;

    @Schema( description ="状态")
    @TableField("STATUS")
    private String status;

    @Schema( description ="日志类型（0:自动采集 1:手动录入 2:系统修改）")
    @TableField("LOG_TYPE")
    private String logType;

    @Schema( description ="日志记录时间")
    @TableField("LOG_TIME")
    private LocalDateTime logTime;

    @Schema( description ="创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @Schema( description ="创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @Schema( description ="修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @Schema( description ="修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @Schema( description ="逻辑删除")
    @TableField("DEL_FLAG")
    private String delFlag;

    @TableField("OUTLET_ID")
    private String outletId;
}
